<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:81:"E:\andiffcrm\fastadmin20180314\public/../application/admin\view\module\index.html";i:1519390409;s:73:"E:\andiffcrm\fastadmin20180314\application\admin\view\layout\default.html";i:1521019243;s:70:"E:\andiffcrm\fastadmin20180314\application\admin\view\common\meta.html";i:1521019243;s:72:"E:\andiffcrm\fastadmin20180314\application\admin\view\common\script.html";i:1521019243;}*/ ?>
<!DOCTYPE html>
<html lang="<?php echo $config['language']; ?>">
    <head>
        <meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">

<link rel="shortcut icon" href="/assets/img/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="/assets/js/html5shiv.js"></script>
  <script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
    var require = {
        config:  <?php echo json_encode($config); ?>
    };
</script>
    </head>

    <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
        <div id="main" role="main">
            <div class="tab-content tab-addtabs">
                <div id="content">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <section class="content-header hide">
                                <h1>
                                    <?php echo __('Dashboard'); ?>
                                    <small><?php echo __('Control panel'); ?></small>
                                </h1>
                            </section>
                            <?php if(!IS_DIALOG): ?>
                            <!-- RIBBON -->
                            <div id="ribbon">
                                <ol class="breadcrumb pull-left">
                                    <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
                                </ol>
                                <ol class="breadcrumb pull-right">
                                    <?php foreach($breadcrumb as $vo): ?>
                                    <li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
                                    <?php endforeach; ?>
                                </ol>
                            </div>
                            <!-- END RIBBON -->
                            <?php endif; ?>
                            <div class="content">
                                <div class="panel panel-default panel-intro">
	<div class="panel-body">
		<div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div class="bootstrap-table">
                    <div class="commonsearch-table">
                    	<form class="form-horizontal form-commonsearch" action="" method="get">
                    	<fieldset>
                    	<div class="row">
                    		    <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                                <label for="name" class="control-label col-xs-4">中文名称</label>
                                <div class="col-xs-8">
                                    <input type="text" class="form-control" name="search[name]" value="<?php echo !empty($name)?$name:''; ?>" placeholder="中文名称" id="s-name" data-index="1" />
                                </div>
                            </div>
                            <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                                <label for="enname" class="control-label col-xs-4">英文名称</label>
                                <div class="col-xs-8">
                                    <input type="text" class="form-control" name="search[enname]" value="<?php echo !empty($enname)?$enname:''; ?>" placeholder="英文名称" id="s-enname" data-index="1" />
                                </div>
                            </div>
                            <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                                <div class="col-sm-8 col-xs-offset-4 text-center">
                                    <input type="hidden" name="offset" value="<?php echo $offset; ?>" />
                                    <input type="hidden" name="limit" value="<?php echo $limit; ?>" />
                                    <button type="submit" class="btn btn-success">搜索</button>
                                    <button type="reset" class="btn btn-default">重置</button>
                                </div>
                            </div>
                    	</div>
                    </fieldset>
                </form>
            </div>
            <div class="fixed-table-toolbar">
            	<!--<div class="columns-right pull-right" style="margin-top:10px;">
            		<button class="btn btn-default" type="button" name="commonSearch" title="搜索"><i class="glyphicon glyphicon-search"></i></button>
            	</div>  -->
            	<div class="bs-bars pull-left">
            		<div id="toolbar" class="toolbar" style="position: relative;">
                        <a href="javascript:window.location.reload();" class="btn btn-primary btn-refresh" title="刷新">
                        <i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" url="module/add" id="thisaddtabs" class="btn btn-success btn-add thisaddtabs" title="添加">
                        <i class="fa fa-plus"></i> 添加</a>
                        <!-- <a href="javascript:;" class="btn btn-success btn-edit btn-disabled" title="编辑"><i class="fa fa-pencil"></i> 编辑</a>  -->
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled" title="删除">
                        <i class="fa fa-trash"></i> 删除</a>
                        <!--
                        <a href="javascript:;" class="btn btn-danger btn-import" title="导入" id="btn-import-GlaqcJ" data-url="ajax/upload" data-mimetype="csv,xls,xlsx" data-multiple="false" initialized="true" style="position: relative; z-index: 1;">
                        <i class="fa fa-upload"></i> 导入</a>

                        <div class="dropdown btn-group ">
                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> 更多</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> 设为正常</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> 设为隐藏</a></li>
                            </ul>
                        </div>
                        -->
                        <div id="html5_1c2laieog4c1ch329b1hdj1p874_container" class="moxie-shim moxie-shim-html5" style="position: absolute; top: 0px; left: 236px; width: 65px; height: 31px; overflow: hidden; z-index: 0;">
                        <input id="html5_1c2laieog4c1ch329b1hdj1p874" type="file" style="font-size: 999px; opacity: 0; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;" accept=".csv,.xls,.xlsx" tabindex="-1">
                        </div>
                    </div>
                </div>
                <div class="columns columns-right btn-group pull-right">
                    <button class="btn btn-default" type="button" id="toggleview" name="toggleview" aria-label="toggle" title="切换">
                    <i class="glyphicon glyphicon-list-alt icon-list-alt"></i>
                    </button>
                    <div class="keep-open btn-group" title="列">
                        <button type="button" aria-label="columns" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="glyphicon glyphicon-th icon-th"></i> <span class="caret"></span></button>
                        <ul class="dropdown-menu" role="menu">
                            <li role="menuitem" class="cheng_showlist">
                              <label><input type="checkbox" data-field="name" value="2" checked="checked">中文名称</label>
                            </li>
                            <li role="menuitem" class="cheng_showlist">
                              <label><input type="checkbox" data-field="enname" value="3" checked="checked">英文名称</label>
                            </li>
														<li role="menuitem" class="cheng_showlist">
                              <label><input type="checkbox" data-field="catname" value="4" checked="checked">类别名称</label>
                            </li>
                            <li role="menuitem" class="cheng_showlist">
                              <label><input type="checkbox" data-field="createtime" value="7" checked="checked">添加日期</label>
                            </li>
                            <li role="menuitem" class="cheng_showlist">
                              <label><input type="checkbox" data-field="updatetime" value="8" checked="checked">更新日期</label>
                            </li>
                        </ul>
                    </div>
            <div class="export btn-group">
                <button class="btn btn-default dropdown-toggle" aria-label="export type" title="导出数据" data-toggle="dropdown" type="button"><i class="glyphicon glyphicon-export icon-share"></i> <span class="caret"></span></button>
                <ul class="dropdown-menu" role="menu">
                <li role="menuitem" data-type="json"><a href="javascript:void(0)">JSON</a></li>
                <li role="menuitem" data-type="xml"><a href="javascript:void(0)">XML</a></li>
                <li role="menuitem" data-type="csv"><a href="javascript:void(0)">CSV</a></li>
                <li role="menuitem" data-type="txt"><a href="javascript:void(0)">TXT</a></li>
                <li role="menuitem" data-type="doc"><a href="javascript:void(0)">MS-Word</a></li>
                <li role="menuitem" data-type="excel"><a href="javascript:void(0)">MS-Excel</a></li>
                </ul>
            </div>
        </div>
        <!-- <div class="pull-right search"><input class="form-control" type="text" placeholder="搜索"></div></div>
        <div class="fixed-table-container" style="padding-bottom: 0px;"><div class="fixed-table-header" style="display: none;"><table></table></div>
        -->
                    <!-- <div class="fixed-table-body"><div class="fixed-table-loading" style="top: 42px; display: none;">正在努力地加载数据中，请稍候……</div> -->
                <div class="fixed-table-container">
                    <div class="fixed-table-body">
                    <table id="table" class="table table-striped table-bordered table-hover" data-operate-edit="1" data-operate-del="1" width="100%">
                    <thead>
                        <tr>
                            <th class="bs-checkbox" data-field="0">
                                <div class="th-inner"><input id="chkSelectAll" name="chkSelectAll" type="checkbox" /></div><div class="fht-cell"></div>
                            </th>
                            <th data-field="name">
                                <div class="th-inner">中文名称</div>
                                <div class="fht-cell"></div>
                            </th>
                            <th data-field="enname">
                                <div class="th-inner">英文名称</div>
                                <div class="fht-cell"></div>
                            </th>
														<th data-field="catname">
                                <div class="th-inner">类别名称</div>
                                <div class="fht-cell"></div>
                            </th>
														<th data-field="dir">
                                <div class="th-inner">文件夹</div>
                                <div class="fht-cell"></div>
                            </th>
                            <th data-field="createtime">
                                <div class="th-inner">创建日期</div>
                                <div class="fht-cell"></div>
                            </th>
                            <th data-field="updatetime">
                                <div class="th-inner">更新日期</div>
                                <div class="fht-cell"></div>
                            </th>
                            <th data-field="operate"><div class="th-inner">操作</div>
                            <div class="fht-cell"></div>
                            </th>
                        </tr>
                    </thead>
                    <tbody data-listidx="0" id="datalist">
                        <?php if(is_array($lists) || $lists instanceof \think\Collection || $lists instanceof \think\Paginator): $k = 0; $__LIST__ = $lists;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?>
                        <tr data-index="<?php echo $k; ?>">
                            <td class="bs-checkbox" columnname="itemid">
                            <input data-index="<?php echo $k; ?>" name="btSelectItem" type="checkbox" value="<?php echo $vo['itemid']; ?>" />
                            </td>
                            <td columnname="Name"><?php echo $vo['name']; ?></td>
                            <td columnname="Enname"><?php echo $vo['enname']; ?></td>
														<td columnname="Catname"><?php echo $vo['catname']; ?></td>
														<td columnname="Dir"><?php echo $vo['dir']; ?></td>
                            <td columnname="Createtime"><?php echo $vo['createdate']; ?></td>
                            <td columnname="Updatetime"><?php echo $vo['updatedate']; ?></td>
                            <td columnname="caozuo">
															<a href="javascript:;" url="/admin/column/index?dialog=1&amp;search[moduleid]=<?php echo $vo['itemid']; ?>" class="btn btn-xs btn-primary thisaddtabs" title="查看字段">
															<i class="fa fa-cubes"></i>查看字段</a>
                                <a href="/admin/module/edit/ids/<?php echo $vo['itemid']; ?>" class="btn btn-xs btn-success btn-editone" title=""><i class="fa fa-pencil"></i></a>
                                <a href="javascript:;" class="btn btn-xs btn-danger btn-delone" title="<?php echo $vo['itemid']; ?>"><i class="fa fa-trash"></i></a>
                            </td>
                        </tr>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </tbody>
                    </table>
                    </div>
                </div>
                <div class="fixed-table-footer" style="display: none;">
                    <table><tbody><tr></tr></tbody></table>
                </div>
                <div class="fixed-table-pagination" style="display: block;">
                    <div class="pull-left pagination-detail">
                        <span class="pagination-info">
                        显示第 <?php echo $offset+1; ?> 到第 <?php if($totalpage == $page): ?><?php echo $total; else: ?><?php echo $limit*$page; endif; ?> 条记录，总共 <?php echo $total; ?> 条记录</span>
                        <!-- <span class="page-list" >每页显示
                        <span class="btn-group dropup">
                            <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                            <span class="page-size">10</span></button>
                            <ul class="dropdown-menu" role="menu">
                                <li role="menuitem" class="active"><a href="#">10</a></li>
                                <li role="menuitem" class=""><a href="#">25</a></li>
                            </ul>
                        </span> 条记录
                        </span> -->
                    </div>
                    <div class="pull-right pagination" >
                        <ul class="pagination">
                            <?php if($total <= $limit || $offset == 0): ?>
                                <li class="page-pre"><a href="#" class="btn-disabled disabled">上一页</a></li>
                            <?php else: ?>
                                <li class="page-pre"><a href="/admin/module/index.html?offset=<?php echo $offset-$limit; ?>">上一页</a></li>
                            <?php endif; $__FOR_START_28158__=1;$__FOR_END_28158__=($totalpage+1);for($i=$__FOR_START_28158__;$i < $__FOR_END_28158__;$i+=1){ ?>
                                <li class="page-number <?php if($i == $page): ?>active<?php endif; ?>">
                                <a href="/admin/module/index.html?offset=<?php echo $limit*($i-1); ?>"><?php echo $i; ?></a></li>
                            <?php } if($total <= $limit): ?>
                                <li class="page-next"><a href="#">下一页</a></li>
                            <?php else: ?>
                                <li class="page-next"><a href="#">下一页</a></li>
                            <?php endif; ?>
                        </ul>
                    </div>
                </div>
                </div>
                </div><div class="clearfix"></div>
                </div>
            </div>

        </div>
	</div>
</div>
<script type="text/javascript">
var pagedata = {
        list: <?php echo json_encode($lists); ?>,
        columns:<?php echo json_encode($columnlist); ?>
};
</script>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo $site['version']; ?>"></script>
    </body>
</html>